home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 205_01 / words.doc < prev    next >
Encoding:
Text File  |  1980-01-01  |  640 b   |  21 lines

  1. -------------------------------------------------------------------------------
  2.  WORDS
  3. -------------------------------------------------------------------------------
  4.  
  5. Format:
  6.  
  7.      words [< filename]
  8.  
  9. Purpose:
  10.  
  11. WORDS is a text filter that places all words appearing in the standard input
  12. on separate lines.
  13.  
  14. Examples:
  15.  
  16. Place all of the words in the file named textfile on individual lines, sort
  17. those lines, make a list of how many times each of the words occurred, and
  18. save that list in the file named wordlist.
  19.  
  20.      words < textfile | sort | freq > wordlist
  21.